import TeamIndex from '@/components/team/index.vue';
import TeamInfo from '@/components/team/info.vue';
import TeamConfirm from '@/components/team/confirm.vue';


//路由列表
const list = [
    {
        path:'index',
        name:'TeamIndex',
        component:TeamIndex,
    },
    {
        path:'info',
        name:'TeamInfo',
        component:TeamInfo,
    },
    {
        path:'confirm',
        name:'TeamConfirm',
        component:TeamConfirm,
    },
]
//父路由的结构
const layout = {
    template:`<router-view></router-view>`
}

export default [{
    path:'/team',
    name:'team',
    component:layout,
    children:list
}]